#ifndef CLASSY_H
#define CLASSY_H
#include <QtCore/QCoreApplication>
#include<iostream>
using namespace std;
class geometr
{
};
class circuit:private geometr
{
public:

void circ(int c)
{
cout<<"CLAS CIRCUIT"<<endl<<endl<<endl;
cout<<"radius okruzhosti "<<c<<endl;
cout<<"dlina okruzhosti "<<c*2*3.14<<endl;

}
 };
class kvadrat:private geometr
{
public:

    void kvadr(int x)
    {
        cout<<"CLASS RECT"<<endl<<endl<<endl;
        cout<<"dlina storony "<<x<<endl;
        cout<<"perimetr "<<x*4;
    }
};
#endif // CLASSY_H
